package com.sie.plm.rpm.standar.vo;

public class ProductVO {
    public void setOid(String oid) {
        this.oid = oid;
    }

    private String oid;

    public void setOtype(String otype) {
        this.otype = otype;
    }

    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof ProductVO)) return false;
        ProductVO other = (ProductVO) o;
        if (!other.canEqual(this)) return false;
        Object this$oid = getOid(), other$oid = other.getOid();
        if ((this$oid == null) ? (other$oid != null) : !this$oid.equals(other$oid)) return false;
        Object this$otype = getOtype(), other$otype = other.getOtype();
        return !((this$otype == null) ? (other$otype != null) : !this$otype.equals(other$otype));
    }

    protected boolean canEqual(Object other) {
        return other instanceof ProductVO;
    }

    public int hashCode() {
        int PRIME = 59,result = 1;
        Object $oid = getOid();
        result = result * 59 + (($oid == null) ? 43 : $oid.hashCode());
        Object $otype = getOtype();
        return result * 59 + (($otype == null) ? 43 : $otype.hashCode());
    }

    public String toString() {
        return "ProductVO(oid=" + getOid() + ", otype=" + getOtype() + ")";
    }


    public String getOid() {
        return this.oid;
    }


    private String otype = "ty.inteplm.product.CTyPDMLinkProduct";

    public String getOtype() {
        return this.otype;
    }
}
